package com.xinke.module.system.model.vo.notice;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 站内信消息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class NotifyMessageRespVO {

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17276")
    @ExcelProperty("用户ID")
    private Long messageId;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27630")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "用户类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("用户类型")
    private Integer userType;

    @Schema(description = "模版编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "23563")
    @ExcelProperty("模版编号")
    private Long templateId;

    @Schema(description = "模板编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模板编码")
    private String templateCode;

    @Schema(description = "模版发送人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @ExcelProperty("模版发送人名称")
    private String templateNickName;

    @Schema(description = "模版内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模版内容")
    private String templateContent;

    @Schema(description = "模版类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("模版类型")
    private Integer templateType;

    @Schema(description = "模版参数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("模版参数")
    private String templateParams;

    @Schema(description = "是否已读", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("是否已读")
    private Integer readStatus;

    @Schema(description = "阅读时间")
    @ExcelProperty("阅读时间")
    private LocalDateTime readTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}